import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import BaseComponents from "./components/base";
import BaseDirective from "./directive";
import ElementUI from "element-plus";
import "element-plus/dist/index.css";
import Vant from "vant";
import "vant/lib/index.css";
import i18n from "./language/index";

const app = createApp(App);

app.use(i18n);
app.use(BaseComponents);
app.use(BaseDirective);
app.use(ElementUI);
app.use(Vant);

app.use(store).use(router).mount("#app");
